package com.itheima.stock.mapper;

import com.itheima.stock.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zby
 * @description 针对表【sys_user(用户表)】的数据库操作Mapper
 * @created 2024-06-17 20:58:16
 * 对应实体类 {@link SysUser}
 */
@Mapper
public interface SysUserMapper {

    /**
     * 根据用户名和状态是否删除查询用户信息
     * @param username
     * @param status
     * @param isDeleted
     * @return
     */
    SysUser selectByUsername(@Param("username") String username,
                             @Param("status") int status,
                             @Param("isDeleted") int isDeleted);
}




